package com.jar.exercise.多线程.synchroniz;

import lombok.SneakyThrows;

public class Util {

    @SneakyThrows
    public static void sleep() {
        Thread.sleep(3000);
    }

    @SneakyThrows
    public static void sleep(long l) {
        Thread.sleep(l);
    }

    public static void newThread(Runnable runnable){
        new Thread(runnable).start();
    }


}
